package com.jsbs.iam.common.core.constant;

public enum StatusCodeEnum {
    SUCCESS(0,"处理成功"),
    PARA_FAIL(4000,"参数错误"),
    SIGN_FAIL(4100,"签名失败"),
    OTHER_FAIL(5000,"其他异常");
    private int code;
    private String message;

    StatusCodeEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }
    public void setMessage(String message) {
        this.message = message;
    }
}
